public class Circle extends Shape {
    private double r;
    public Circle(String name , double r){
        super(name);
        this.r =  r;
    }
    public double getR() {
        return r;
    }
    public void setR(double r) {
        this.r = r;
    }
    @Override
    public double getArea(){
        return r * r * 3.14;
    }
}
